<div class="table">
        <img src="img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
        <img src="img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
        <table class="listing" cellpadding="0" cellspacing="0">
                <tr class="first" width="177">
                        <th>Username</th>
                        <th>Role</th>
                        <th>Nombre(s)</th>
                        <th>Apellido(s)</th>
                        <th>E-mail</th>
                        <th>Activo</th>
                </tr>
                <?php foreach ($userss as $i => $user): ?>
                <tr class="<?php echo fmod($i, 2) ? 'first style1' : 'first style2' ?>">
                        <td>
                                <a href="<?php echo url_for('users/show?id='.$user->getId()) ?>">
                                        <?php echo $user->getUsername() ?>
                                </a>
                        </td>
                        <td><?php echo $user->getRolName() ?></td>
                        <td><?php echo $user->getFirstName() ?></td>
                        <td><?php echo $user->getLastName() ?></td>
                        <td><?php echo $user->getEmail() ?></td>
                        <td><?php echo $user->getApproved() ?></td>

                </tr>
                <?php endforeach; ?>
        </table>
</div>

<?php slot('menu'); ?> 
  <li><a href="users/register">Nuevo Usuario</a></li>
<?php end_slot('menu'); ?>
